import { get_global_db_score } from '../../../../../../../../../../../Func/get_global_db';
import { req_info_music_score_upload } from '../../../Classes/cla_req_info_music_score_upload';
import { global_identity_upload_music_score } from './Classes/cla_global_identity_upload_music_score';

/**
 * 向 global_score 身份表 添加 一个信息
 */
export function sign_identity_global_score(
  cur_info: req_info_music_score_upload
) {
  let mdb_global_score = get_global_db_score();

  let cur_global_identity_music_score = new global_identity_upload_music_score(
    cur_info
  );

  mdb_global_score.insertOne(cur_global_identity_music_score);
}
